<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head profile="http://selenium-ide.openqa.org/profiles/test-case">
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <link rel="selenium.base" href="http://localhost:8888/"/>
    <title>RegistrationValidationTest</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
    <thead>
    <tr>
        <td rowspan="1" colspan="3">RegistrationValidationTest</td>
    </tr>
    </thead>
    <tbody>
    <tr>
        <td>deleteAllVisibleCookies</td>
        <td></td>
        <td></td>
    </tr>
    <tr>
        <td>open</td>
        <td>/</td>
        <td></td>
    </tr>
    <tr>
        <td>clickAndWait</td>
        <td>link=Registrace</td>
        <td></td>
    </tr>
    <tr>
        <td>clickAndWait</td>
        <td>//input[@value='Odeslat']</td>
        <td></td>
    </tr>
    <tr>
        <td>verifyTextPresent</td>
        <td>Zadejte captcha kod z obrázku.</td>
        <td></td>
    </tr>
    <tr>
        <td>verifyTextPresent</td>
        <td>Zadejte login.</td>
        <td></td>
    </tr>
    <tr>
        <td>verifyTextPresent</td>
        <td>Zadejte heslo.</td>
        <td></td>
    </tr>
    <tr>
        <td>verifyTextPresent</td>
        <td>Zadejte ověřovací heslo.</td>
        <td></td>
    </tr>
    <tr>
        <td>verifyTextPresent</td>
        <td>Zadejte e-mail.</td>
        <td></td>
    </tr>
    <tr>
        <td>verifyTextPresent</td>
        <td>Zadejte login.</td>
        <td></td>
    </tr>
    <tr>
        <td>type</td>
        <td>companyEmail</td>
        <td>asa</td>
    </tr>
    <tr>
        <td>clickAndWait</td>
        <td>//input[@value='Odeslat']</td>
        <td></td>
    </tr>
    <tr>
        <td>verifyTextPresent</td>
        <td>není validní emailová adresa.</td>
        <td></td>
    </tr>
    <tr>
        <td>type</td>
        <td>registrationPassword</td>
        <td>a</td>
    </tr>
    <tr>
        <td>type</td>
        <td>registrationPasswordVerify</td>
        <td>b</td>
    </tr>
    <tr>
        <td>type</td>
        <td>captchaPassword</td>
        <td>adasda</td>
    </tr>
    <tr>
        <td>clickAndWait</td>
        <td>//input[@value='Odeslat']</td>
        <td></td>
    </tr>
    <tr>
        <td>verifyTextPresent</td>
        <td>Hesla se neshodují, zadejte znovu.</td>
        <td></td>
    </tr>
    <tr>
        <td>verifyTextPresent</td>
        <td>Zadáno špatné captcha heslo.</td>
        <td></td>
    </tr>

    </tbody>
</table>
</body>
</html>
